package systems.database.query.columns;

/**
 * This class provides an 'as' mechanisms for Table name.<br/>
 * @author Baptiste Legrand
 *
 */
public class ColumnAs implements ColumnItf
{
	private String columnName;
	private String alias;
	
	public ColumnAs(String columnName, String alias)
	{
		this.columnName = columnName;
		this.setAlias(alias);
	}
	
	/**
	 * 
	 * @param column
	 */
	public void setColumn(String column) {
		this.columnName = column;
	}
	/**
	 * 
	 * @return
	 */
	public String getColumn() {
		return columnName;
	}
	/**
	 * 
	 * @param alias
	 */
	public void setAlias(String alias) {
		this.alias = alias;
	}
	/**
	 * 
	 * @return
	 */
	public String getAlias() {
		return alias;
	}

	@Override
	public String getColumnName() {
		return null;
	}
	
}
